const mutations = {
  SET_MessageCount(state, params) {
    state.MessageCount = params;
  },
  SET_MenuIndex(state, index) {
    state.MenuIndex = index;
    sessionStorage.setItem("MenuIndex", index);
  },
  SET_MenuTree(state, index) {
    state.menuTree = index;
  },
  UPDATE_IscLoginStatus(state, index) {
    state.IscLoginStatus = index;
  },
  SET_Power(state, index) {
    state.powerList = index;
  },
  SET_NowPower(state, index) {
    state.nowPowerList = index;
  }
};
export default mutations;
